Title
How to assign different colors to multiple lines in a line chart
Description
Hello, how to assign different colors to multiple polylines?
Solution
- Configure color in spec, you can refer to this demo https://visactor.bytedance.net/vchart/demo/area-chart/stream-graph
- Configure the color in the element style, you can refer to https://visactor.bytedance.net/vchart/demo/line-chart/multi-line
- Set the color palette by theme, you can refer to the demo https://visactor.bytedance.net/vchart/demo/theme/theme-switch , documentation: https://visactor.bytedance.net/vchart/guide/tutorial_docs/Theme/Color_Theme
Related Documents
- Demo:
- https://visactor.bytedance.net/vchart/demo/area-chart/stream-graph
- https://visactor.bytedance.net/vchart/demo/line-chart/multi-line
- https://visactor.bytedance.net/vchart/demo/theme/theme-switch
- Tutorial: https://visactor.bytedance.net/vchart/guide/tutorial_docs/Theme/Color_Theme
- Github:https://github.com/VisActor/VChart/